<?php

/**
 * [PHPFOX_HEADER]
 */
defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package 		Phpfox_Service
 * @version 		$Id: process.class.php 2738 2011-07-15 10:28:44Z Miguel_Espinoza $
 */
class Connectsocial_Service_Process extends Phpfox_Service {

    /**
     * Class constructor
     */
    public function __construct() {
        $this->_sTable = Phpfox::getT('social_connect');
    }
    
    public function add($aVals) {
        //prepare $aVals
        
        
        //insert
        return $this->database()->insert($this->_sTable, $aVals);
    }
    
    public function update($aVals, $mConds) {
        
        $this->database()->update($this->_sTable, $aVals, $mConds);
        
        return TRUE;
    }
}

?>